<div class="content_left_nedited">
<div id="video_admin_content" >
    <p class="title_type">Add Video</p>
    <%= form_remote_tag(:update => 'sv_admin',
    :after => "insertWaitingImg('sv_admin')", 
    :url => {:controller => 'video', :action => 'create_video'} ) %>
     <%= render :partial => '/video/form' %>    
     <p>
     <%= submit_tag 'Add Video' %>
     <%= link_to_remote('<input type="button" value="Cancel" />',
    :update => 'sv_admin',:after => "insertWaitingImg('sv_admin')",
     :url => {:controller => 'video', :action => 'show_video', 
        :id => @ref.id ,:v_type => @ref.get_type})%>
     </p>
     <%= end_form_tag %>
</div>
</div>


